package com.yongqi.duocai.mapper;

import com.yongqi.duocai.entity.Address;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 夏亮辉
 * @since 2021-06-22
 */
@Repository
public interface AddressMapper extends BaseMapper<Address> {

    /**
     * 跟据 id 查询 地址
     * @param id
     * @return
     */
    Address selectOneById(@Param("id") Integer id);
}
